import request from '@/utils/request'


export function getClientUser(query) {
  return request({
    url: '/system/user/getClientUser',
    method: 'get',
    params: query
  })
}

export function addClientUser(data) {
    return request({
      url: '/system/user/addClientUser',
      method: 'post',
      data
    })
  }

  export function userEdit(data) {
    return request({
      url: '/system/user',
      method: 'put',
      data
    })
  }

  export function postTypeDelete(id) {
    return request({
      url: `/system/user/${id}`,
      method: 'delete',
    })
  }

  